import request from '@/sheep/request';

export default {
    // 获得代理商详情
    getAgent: () => {
        return request({
            url: 'member/user/agent/get',
            method: 'GET'
        });
    },
    postAgent: (data) => {
        return request({
            url: 'member/user/agent/apply',
            method: 'POST',
            data
        });
    },
    getRecord: () => {
        return request({
            url: '/member/user/agent/get-record-lastly',
            method: 'GET'
        });
    },
}
